About graphic displays > FactoryTalk View graphic XML file > XML attributes > shutdownMacro attribute
The shutdownMacro attribute specifies a macro to run when the display is closed.
The displaySettings element contains this attribute.
FactoryTalk View equivalent: Macros: Shutdown on the Behavior tab of the Display Settings dialog box
displaySettings element
shutdownMacro attribute syntax